package com.guigu.tms.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName:MybatisPlusConfig
 * @Description://TODO
 * @Author:taoLong
 * @Date:2021/10/26:11:15 星期二
 * @email:2391611102@qq.com or 2391611102qq@gmail.com
 */
@Configuration
public class MybatisConfig {

    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
